Technical gobble-de-goop
¬
 
This section is for the more technical among you.  You can ignore everything that follows, and remain a completely content Convert TEXT user!

This is, obviously, a trivial application, and so I won't bore you with anything more than a brief overview and a listing of what characters get converted to what.

CRLF;¬The `CRLF' conversions are trivial.  When converting to a NeXT file, CRLF character pairs are changed to a single LF character.  When converting a NeXT file to a CRLF one, LF characters are always converted to CRLF pairs.  That is the whole and extent of that conversion.

Mac;¬The following table should provide you with all the needed detail about the Macintosh text file conversions.  All characters below 128 are not altered during the conversion except for converting Carriage Returns to Line Feeds, or vice versa,  and single quotes (as detailed elsewhere ;Curly quotes.rtfd;;¬).  Note that if the user has requested to use strict Inside Macintosh Volume 1 p. 221 conversion, all characters above 0xD8 are not altered at all.

When converting from a Macintosh character to a NeXT character, find the Mac character's number in the second column (all numbers are in hexadecimal).  It gets converted to the NeXT character in the third column.  If there is a double em dash there (ÐÐ), then the string in the fourth column will be used in its place.  When converting a NeXT character to a Mac one, find the character in the third column, and it converts to the character in the second.  If you can't find the character in the third column, there is a supplement at the end which fills those gaps.

Character name	Mac code	NeXT code	Replace name
commandsymbol	0x11	ÐÐ	[commandsymbol]
check	0x12	ÐÐ	[check]
diamond	0x13	ÐÐ	[diamond]
apple	0x14	ÐÐ	[apple]
Adieresis	0x80	0x85
Aring	0x81	0x86
Ccedilla	0x82	0x87
Eacute	0x83	0x89
Ntilde	0x84	0x91
Odieresis	0x85	0x96
Udieresis	0x86	0x9A
aacute	0x87	0xD6
agrave	0x88	0xD5
acircumflex	0x89	0xD7
adieresis	0x8A	0xD9
atilde	0x8B	0xD8
aring	0x8C	0xDA
ccedilla	0x8D	0xDB
eacute	0x8E	0xDD
egrave	0x8F	0xDC
ecircumflex	0x90	0xDE
dieresis	0x91	0xDF
iacute	0x92	0xE2
igrave	0x93	0xE0
icircumflex	0x94	0xE4
idieresis	0x95	0xE5
ntilde	0x96	0xE7
oacute	0x97	0xED
ograve	0x98	0xEC
ocircumflex	0x99	0xEE
odieresis	0x9A	0xF0
otilde	0x9B	0xEF
uacute	0x9C	0xF3
ugrave	0x9D	0xF2
ucircumflex	0x9E	0xF4
udieresis	0x9F	0xF6
dagger	0xA0	0xB2
degree	0xA1	ÐÐ	[degree]
cent	0xA2	0xA2
sterling	0xA3	0xA3
section	0xA4	0xA7
bullet	0xA5	0xB7
paragraph	0xA6	0xB6
germandbls	0xA7	0xFB
registerserif	0xA8	0xB0
copyrightserif	0xA9	0xA0
trademarkserif	0xAA	ÐÐ	[trademarkserif]
acute	0xAB	0xC2
dieresis	0xAC	0xC8
notequal	0xAD	ÐÐ	[notequal]
AE	0xAE	0xE1
Oslash	0xAF	0xE9
infinity	0xB0	ÐÐ	[infinity]
plusminus	0xB1	0xD1
lessequal	0xB2	ÐÐ	[lessequal]
greaterequal	0xB3	ÐÐ	[greaterequal]
yen	0xB4	0xA5
mu	0xB5	0x9D
partialdiff	0xB6	ÐÐ	[partialdiff]
summation	0xB7	ÐÐ	[summation]
product	0xB8	ÐÐ	[product]
pi	0xB9	ÐÐ	[pi]	
integral	0xBA	ÐÐ	[integral]
ordfeminine	0xBB	0xE3
ordmasculine	0xBC	0xEB
Omega	0xBD	ÐÐ	[Omega]
ae	0xBE	0xF1
oslash	0xBF	0xF9
questiondown	0xC0	0xBF
exclamdown	0xC1	0xA1
logicalnot	0xC2	0xBE
radical	0xC3	ÐÐ	[radical]
florin	0xC4	0xA6
approxequal	0xC5	ÐÐ	[approxequal]
delta	0xC6	ÐÐ	[delta]
guillemotleft	0xC7	0xAB
guillemotright	0xC8	0xBB
elipsis	0xC9	0xBC
nbspace	0xCA	0x80
Agrave	0xCB	0x81
Atilde	0xCC	0x84
Otilde	0xCD	0x95
OE	0xCE	0xEA
oe	0xCF	0xFA
endash	0xD0	0xB1
emdash	0xD1	0xD0
quotedblleft	0xD2	0xAA
quotedblright	0xD3	0xBA
quoteleft	0xD4	0x60
quoteright	0xD5	0x27
divide	0xD6	0x9F
lozenge	0xD7	ÐÐ	[lozenge]
ydieresis	0xD8	0xFD
Ydieresis	0xD9	ÐÐ	[Ydieresis or a picture]
fraction	0xDA	0xA4
currency	0xDB	0xA8
guilsinglleft	0xDC	0xAC
guilsinglright	0xDD	0xAD
fi	0xDE	0xAE
fl	0xDF	0xAF
daggerdbl	0xE0	0xB3
periodcentered	0xE1	0xB4
quotesinglebase	0xE2	0xB8
quotedblbase	0xE3	0xB9
perthousand	0xE4	0xBD
Acircumflex	0xE5	0x83
Ecircumflex	0xE6	0x8A
Aacute	0xE7	0x82
Edieresis	0xE8	0x8B
Egrave	0xE9	0x88
Iacute	0xEA	0x8D
Icircumflex	0xEB	0x8E
Idieresis	0xEC	0x8F
Igrave	0xED	0x8C
Oacute	0xEE	0x93
Ocircumflex	0xEF	0x94
apple	0xF0	ÐÐ	[apple]
Ograve	0xF1	0x92
Uacute	0xF2	0x98
Ucircumflex	0xF3	0x99
Ugrave	0xF4	0x97
dotlessi	0xF5	0xF5
circumflex	0xF6	0xC3
tilde	0xF7	0xC4
macron	0xF8	0xC5
breve	0xF9	0xC6
dotaccent	0xFA	0xC7
ring	0xFB	0xCA
cedilla	0xFC	0xCB
hungarumlaut	0xFD	0xCD
ogonek	0xFE	0xCE
caron	0xFF	0xCF

Supplement for NeXT to Mac conversion
Character name	Mac code	NeXT code	Replace name
quoteright	0xD4	0x27  (only if converting¼
quoteleft	0xD5	0x60   ¼curly quotes)
Eth	ÐÐ	0x90	[Eth]
Yacute	ÐÐ	0x9B	[Yacute]
Thorn	ÐÐ	0x9C	[Thorn]
multiply	ÐÐ	0x9E	[multiply]
brokenbar	ÐÐ	0xB5	[brokenbar]
onesuperior	ÐÐ	0xC0	[onesuperior]
twosuperior	ÐÐ	0xC9	[twosuperior]
threesuperior	ÐÐ	0xCC	[threesuperior]
onequarter	ÐÐ	0xD2	[onequarter]
onehalf	ÐÐ	0xD3	[onehalf]
threequarters	ÐÐ	0xD4	[threequarters]
eth	ÐÐ	0xE6	[eth]
Lslash	ÐÐ	0xE8	[Lslash]
yacute	ÐÐ	0xF7	[yacute]
lslash	ÐÐ	0xF8	[lslash]
thorn	ÐÐ	0xFC	[thorn]
not defined	ÐÐ	0xFE	[not defined]
ascii control char	ÐÐ	0xFF	[ascii control char]